package com.lionel.constant;

import java.io.File;
import java.util.Date;

/**
 * @author: liucan
 * @Date: 2019/2/2 16:11
 * @desc:
 **/
public class Constants {

    //提示语
    public static String WELCOME="---------------------欢迎登陆图书管理系统---------------------\n"+
                                  "---------------------  version:0.0.1 ---------------------\n"+
                                  "------- date:"+new Date()+"-----------------\n";


    public static String START_INIT="---------------------  开始初始化 ---------------------\n";
    public static String END_INIT="---------------------  初始化完成 ---------------------\n";
    public static String LOGIN_HINT="请输入用户id及密码逗号分隔: 例如 zhangsan,123456";


    //路径
    public static String PATH="d:/book/";
    public static String BOOK_PATH=PATH.concat("/book.txt");
    public static String RECORD_PATH=PATH.concat("/record.txt");
    public static String LIBRARY_PATH=PATH.concat("/library.txt");
    public static String USER_PATH=PATH.concat("/user.txt");
    public static String ROLE_PATH=PATH.concat("/role.txt");

    //分隔符
    public static String SEPARATOR ="||||";

}
